const fs=require("fs")
const jwt=require("jsonwebtoken")
const key="dhhfdnhnmkmmnngdsss"
let user={
    login_name:"张三"
}
let token_sign=jwt.sign(user,key)
fs.writeFileSync("./token.txt",token_sign)